package com.bw.service;

import com.bw.bean.HZ;
import com.bw.dao.IHzDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IHzServiceImpl implements IHzService {
    @Autowired
    IHzDao dao;


    @Override
    public List<HZ> chaxun(String likename, String phone, String start, String end) {
        return dao.chaxun(likename,phone,start,end);
    }

    @Override
    public int add(HZ hz) {
        return dao.add(hz);
    }

    @Override
    public int adds(List<HZ> hzs) {
        return dao.adds(hzs);
    }

    @Override
    public int del(String id) {
        return dao.del(id);
    }

    @Override
    public int dels(String id) {
        return dao.dels(id);
    }
}
